/**
 * 
 */
package org.wicket.jbpm.dao.user;

import java.util.List;

import org.springframework.dao.DataAccessException;
import org.wicket.jbpm.BaseDao;
import org.wicket.jbpm.model.User;

/**
 * @author Emmanuel Nollase - emanux
 * created: May 10, 2009 - 3:07:45 PM
 */
public interface UserDao extends BaseDao {

	List<User> findByGrpId(String grpId) throws DataAccessException;
	
	List<String> findForJbpmUser(String grpId) throws DataAccessException;
	
	boolean checkUser(String username, String password) throws DataAccessException;
	
	User loadUser(final String username, String password) throws DataAccessException;
}
